package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SecurityActivity;

/**
 * 安防附件Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-22
 */
public interface SecurityActivityMapper 
{
    /**
     * 查询安防附件
     * 
     * @param saId 安防附件ID
     * @return 安防附件
     */
    public SecurityActivity selectSecurityActivityById(Long saId);

    /**
     * 查询安防附件列表
     * 
     * @param securityActivity 安防附件
     * @return 安防附件集合
     */
    public List<SecurityActivity> selectSecurityActivityList(SecurityActivity securityActivity);

    /**
     * 新增安防附件
     * 
     * @param securityActivity 安防附件
     * @return 结果
     */
    public int insertSecurityActivity(SecurityActivity securityActivity);

    /**
     * 修改安防附件
     * 
     * @param securityActivity 安防附件
     * @return 结果
     */
    public int updateSecurityActivity(SecurityActivity securityActivity);

    /**
     * 删除安防附件
     * 
     * @param saId 安防附件ID
     * @return 结果
     */
    public int deleteSecurityActivityById(Long saId);

    /**
     * 批量删除安防附件
     * 
     * @param saIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSecurityActivityByIds(Long[] saIds);
}
